package com.example.blog.modules.article.dto;

import com.example.blog.modules.user.dto.UserDTO;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentDTO {
    private Long id;
    private String content;
    private Long articleId;
    private UserDTO user;
    private Long parentId;
    private List<CommentDTO> children;
    private Integer likeCount;
    private Boolean isApproved;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 